← Index
NYTProf Performance Profile   
For webmerge/scripts/webmerge.pl
  Run on Mon Oct 7 02:42:42 2013
Reported on Mon Oct 7 03:03:22 2013

Filename(eval 16)[/usr/lib64/perl5/vendor_perl/5.16.0/JSON.pm:353]
StatementsExecuted 2 statements in 91µs
Eval Invoked At/usr/lib64/perl5/vendor_perl/5.16.0/JSON.pm line 353
Sibling evals1, 2
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11185µs272µsJSON::PP::Boolean::::BEGIN@3JSON::PP::Boolean::BEGIN@3
0000s0sJSON::PP::Boolean::::__ANON__[:13]JSON::PP::Boolean::__ANON__[:13]
0000s0sJSON::PP::Boolean::::__ANON__[:4]JSON::PP::Boolean::__ANON__[:4]
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1
2 package JSON::PP::Boolean;
3
# spent 272µs (85+187) within JSON::PP::Boolean::BEGIN@3 which was called: # once (85µs+187µs) by JSON::Boolean::_overrride_overload at line 14
use overload (
4 '""' => sub { ${$_[0]} == 1 ? 'true' : 'false' },
5 'eq' => sub {
6 my ($obj, $op) = ref ($_[0]) ? ($_[0], $_[1]) : ($_[1], $_[0]);
7 if ($op eq 'true' or $op eq 'false') {
8 return "$obj" eq 'true' ? 'true' eq $op : 'false' eq $op;
9 }
10 else {
11 return $obj ? 1 == $op : 0 == $op;
12 }
13 },
14291µs2459µs );
# spent 272µs making 1 call to JSON::PP::Boolean::BEGIN@3 # spent 187µs making 1 call to overload::import
15
16;